package server.content.skills.wc;

public enum Axes {

	BRONZE(1351, 1, 879),
	IRON(13555, 1, 877),
	STEEl(1353, 6, 875), 
	MITHRIL(1355, 21, 871), 
	ADAMANT(1357, 31, 869), 
	RUNE(1359, 41, 867);

	private final int axeId;
	private final int lvlReq;
	private final int animId;

	private Axes(final int axeId, final int lvlReq, final int animId) {
		this.axeId = axeId;
		this.lvlReq = lvlReq;
		this.animId = animId;
	}

	public static Axes getAxe(final int id) {
		for (final Axes axe : Axes.values()) {
			if (axe == null)
				continue;
			if (axe.getAxeId() == id)
				return axe;
		}
		return null;
	}

	public int getAxeId() {
		return axeId;
	}

	public int getLvlReq() {
		return lvlReq;
	}
	
	public int getAnim() {
		return animId;
	}
}
